package com.ts.api.module.product.service.impl;

import com.ts.api.module.product.dao.ProductPlanAreaDao;
import com.ts.api.module.product.entity.po.ProductPlanAreaPO;
import com.ts.api.module.product.entity.qo.ProductPlanAreaMatchQO;
import com.ts.api.module.product.service.ProductPlanAreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ProductPlanAreaServiceImpl implements ProductPlanAreaService {

    @Autowired
    private ProductPlanAreaDao productPlanAreaDao;

    @Override
    @Transactional(readOnly = true)
    public List<ProductPlanAreaPO> listAreaMatch(ProductPlanAreaMatchQO productPlanAreaMatchQO) {
        return productPlanAreaDao.listAreaMatch(productPlanAreaMatchQO);
    }
}
